package com.tianhao.common.entity;

/**
 * 存放响应体中Api信息
 * @author: tianhao.luo@hand-china.com 2021/3/25  9:25
 */
public class ApiInfo {
    private String apiVersion;
    private String apiStatus;
    private String apiWarnings;

    public ApiInfo() {
    }

    public ApiInfo(String apiVersion, String apiStatus, String apiWarnings) {
        this.apiVersion = apiVersion;
        this.apiStatus = apiStatus;
        this.apiWarnings = apiWarnings;
    }

    public String getApiVersion() {
        return this.apiVersion;
    }

    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    public String getApiStatus() {
        return this.apiStatus;
    }

    public void setApiStatus(String apiStatus) {
        this.apiStatus = apiStatus;
    }

    public String getApiWarnings() {
        return this.apiWarnings;
    }

    public ApiInfo setApiWarnings(String apiWarnings) {
        this.apiWarnings = apiWarnings;
        return this;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ApiInfo{");
        sb.append("apiVersion='").append(apiVersion).append('\'');
        sb.append(", apiStatus='").append(apiStatus).append('\'');
        sb.append(", apiWarnings='").append(apiWarnings).append('\'');
        sb.append('}');
        return sb.toString();
    }
}